package ex1;


/**
 * Sheet 3, exercise 1
 * Enum LanguageKnowledge with setter and getter for predefined
 * phrases
 * 
 * @author Dennis Meyer, Sebastian Brodehl, Sebastian Schappert
 * @version 1.0.0.0
 *
 */
public enum LanguageKnowledge
{	/**
	 * @param value, can only include phrases "Mutterspache", "flie��end 
	 * in Wort und Schrift" and "Grundkenntnisse"
	 * @return value, 'chosen' value 
	 */
	
	Muttersprache("Muttersprache"), WortundSchrift("fließend in Wort und Schrift"), Grundkenntnisse("Grundkenntnisse");
	
	private String value;
	
	LanguageKnowledge(String v){
		value = v;
	}
	
	public String getKnowledge() 
	{
       return value;
    }
}
